$(function () {
    $("#doctorTcSearchContent", parent.document).on('click','.marketSearchShop',function () {
        var id = $(this).attr('id');
        var index = layer.open({
            type: 2,
            title: '&nbsp',
            area: ['100%', '100%'],
            fix: true,
            maxmin: true,
            content: Feng.ctxPath + '/consultantDetails/consultantToDetailByTab/'+id+'/4/2'
        });
        this.layerIndex = index;
    });
    $(document).click(function () {
        $("#doctorTcSearchContent",parent.document).hide()
    })
});